//
//  TopModel.m
//  Movie
//
//  Created by mycomputer on 15/7/21.
//  Copyright (c) 2015年 杨韦智. All rights reserved.
//

#import "TopModel.h"

@implementation TopModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"rating"]) {
        _average = [[value objectForKey:@"average"] floatValue];
    }
}

@end
